Skip to content

[WIP] Update stylelint, actions, and other configurations#290

Merged
coliff merged 2 commits into
mainfrom
codex/update-stylelint-and-actions
Mar 23, 2026
Merged

[WIP] Update stylelint, actions, and other configurations#290
coliff merged 2 commits into
mainfrom
codex/update-stylelint-and-actions

Conversation

@Codex

@Codex Codex AI commented Mar 23, 2026

Copy link
Copy Markdown
Contributor
  • Review current configs, dependencies, and workflows
  • Convert stylelint config to modern file with inline ignore rules; remove .stylelintignore
  • Update ESLint config to ignore .min. files
  • Refresh dependencies (terser latest) and run npm audit fix
  • Update GitHub Actions versions and skip Dependabot on Super Linter and CodeQL
  • Run linters/tests to validate changes
Original prompt

This section details on the original issue you should resolve

<issue_title>Updates</issue_title>
<issue_description>- Update stylelint to modern format

  • Add stylelintignore rules to stylelint and remove .stylelintignore file
  • on ESLint config set it to ignore .min. files
  • Update Terser to latest version
  • Run npm audit fix
  • Set Super Linter GH Action not to run on Dependabot branches/PRs
  • Don't run CodeQL on dependabot branches
  • Update all GitHub Actions to latest versions</issue_description>

Comments on the Issue (you are @codex[agent] in this section)

@github-actions

Copy link
Copy Markdown

Super-linter summary

Language Validation result
PRE_COMMIT Pass ✅
TRIVY Pass ✅

All files and directories linted successfully

For more information, see the GitHub Actions workflow run

Powered by Super-linter

@coliff coliff marked this pull request as ready for review March 23, 2026 06:51
@coliff coliff self-requested a review as a code owner March 23, 2026 06:51
Copilot AI review requested due to automatic review settings March 23, 2026 06:51
@coliff coliff merged commit 7311de4 into main Mar 23, 2026
4 checks passed
@coliff coliff deleted the codex/update-stylelint-and-actions branch March 23, 2026 06:51
Copilot stopped work on behalf of coliff due to an error March 23, 2026 06:51
@github-actions

Copy link
Copy Markdown

Super-linter summary

Language Validation result
PRE_COMMIT Pass ✅
TRIVY Pass ✅

All files and directories linted successfully

For more information, see the GitHub Actions workflow run

Powered by Super-linter

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR modernizes the repository’s linting/tooling configuration and refreshes related CI action pins, with an emphasis on making linting configs more maintainable and preventing Dependabot-triggered runs for selected workflows.

Changes:

  • Migrate Stylelint config to stylelint.config.mjs, inlining ignore behavior and removing legacy config/ignore files.
  • Update ESLint config to ignore minified artifacts (*.min.*).
  • Refresh tooling/CI by bumping terser and updating pinned github/codeql-action/* SHAs; skip Super Linter and CodeQL on Dependabot branches/actors.

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated no comments.

Show a summary per file
File Description
stylelint.config.mjs New ESM Stylelint config using twbs-bootstrap base config, with inline ignore and rule overrides.
package.json Bumps terser to a newer version.
.stylelintrc.json Removes legacy Stylelint JSON config (superseded by stylelint.config.mjs).
.stylelintignore Removes standalone ignore file (ignore behavior moved into config).
.github/workflows/super-linter.yml Skips Super Linter job for Dependabot actor/branches.
.github/workflows/ossf-scorecard.yml Updates pinned upload-sarif action SHA.
.github/workflows/eslint.yml Updates pinned upload-sarif action SHA.
.github/workflows/codeql-analysis.yml Skips CodeQL for Dependabot actor/branches and updates pinned CodeQL action SHAs.
.eslintrc.json Adds ignorePatterns to avoid linting minified files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Updates

3 participants